package com.es.poem.config;

public enum ResultStatus {

    // 公共 2000开头
    SUCCESS(2000, "成功"),
    ERROR(2001, "失败"),
    UNKNOWN_ERROR(2002,"未知异常"),
    SYSTEM_ERROR(2003, "系统异常"),
    REQUEST_PARAMETER_ERROR(2004, "请求参数错误");

    // 登录 1000


    public int code;
    public String message;

    ResultStatus(int code, String message) {
        this.code = code;
        this.message = message;
    }
}
